<?php

function &get_instance() {
    return Controller::get_instance();
}

function base_url() {
    $c = & Controller::get_instance();
    return $c->config->item('base_url') . 'index.php/';
}

function load_db() {
    require_once BASEPATH . 'core/database.php';
}

?>
